package com.ruix.app.ui.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.ruix.app.R;
import com.ruix.app.adapter.superadapter.SuperAdapter;
import com.ruix.app.adapter.superadapter.internal.SuperViewHolder;
import com.ruix.app.model.Comment;
import com.ruix.app.widget.comment.CommentWidget;

/**
 * Created by hadexs on 2017/4/30.
 */

public class CommentAdapter extends SuperAdapter<Comment>{


    public CommentAdapter(Context context) {
        super(context, R.layout.item_circle_comment);
    }

    @Override
    public void onBind(SuperViewHolder holder, int viewType, int position, Comment item) {
        CommentWidget commentWidget = holder.getView(R.id.cw_commnet_view);
        commentWidget.setCommentText(item);
//        commentWidget.setcon
//        commentWidget.setOnClickListener(this);

//        holder.setText(R.id.cw_commnet_view,item.getContent());
    }
}
